{extend name="admin@index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">账号</label>
        <div class="layui-input-block">
            <input type="text" name="setting[account]" placeholder="请输入账号" autocomplete="off" class="layui-input" value="{$setting['account']}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">密钥</label>
        <div class="layui-input-block">
            <input type="text" name="setting[key]" placeholder="请输入密钥" autocomplete="off" class="layui-input" value="{$setting['key']}">
        </div>
    </div>
    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit>立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
layui.use('yznForm', function() {
    var yznForm = layui.yznForm;
    yznForm.listen();
});
</script>
{/block}